package com.atguigu.spring5.bean;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class Emp {
    private String ename;
    private String gender;
    //员工属于某一个部门,使用对象形式标识
    private Dept dept;

    public void show() {
        System.out.println("asdasdasdsad");
    }
}
